home *** CD-ROM | disk | FTP | other *** search
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: Mon, 6 Sep 93 10:45:09 +0200
- Message-Id: <9309060845.AA20726@issan.informatik.uni-dortmund.de>
- To: mint@atari.archive.umich.edu
- Subject: Bug in MiNT 1.09
-
- There is a serious bug in kmalloc: when allocating a new arena for
- nalloc, the size passed to nalloc_add_arena is too big!
-
- --- orig/util.c Tue Aug 17 21:23:28 1993
- +++ util.c Sat Sep 4 22:06:36 1993
- @@ -156,7 +156,7 @@
- lp = (long *)m->loc;
- *lp++ = (long)KMAGIC;
- *lp++ = (long)m;
- - nalloc_arena_add((void *)lp,KERMEM_SIZE);
- + nalloc_arena_add((void *)lp,KERMEM_SIZE - 2*sizeof(long));
- goto tryagain;
- }
- }
-